package com.yt.lxh.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum CouponRangeType {

    ALL(0,"全场通用"),
    SKU(1,"仅限单一商品" ),
    CATEGORY(2,"仅限分类");

    @EnumValue
    private Integer code;

    private String comment;

}
